﻿<%@ Page Language="C#" MasterPageFile="~/Areas/Root/Views/Shared/Root.Master" Inherits="System.Web.Mvc.ViewPage<AbstractSaaSTemplate.UI.Web.Areas.Root.Models.Member.ChangePasswordForm>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"><%: Metadata.RootMemberChangePasswordTitle %></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MetaDescription" runat="server"><%: Metadata.RootMemberChangePasswordDescription%></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MetaKeywords" runat="server"><%: Metadata.RootMemberChangePasswordKeywords%></asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="H1Content" runat="server"><%: Metadata.RootMemberChangePasswordTitle%></asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="InnerBodyClass" runat="server">root member change-password</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="MainContent" runat="server">
    <section class="info">
        <%: Messages.UseTheFormBelowToChangeYourPassword %>
    </section>

    <% using (Html.BeginForm()) { %>
        <%: Html.ValidationSummary(string.Concat(
            Messages.NotPossibleToAuthenticate,
            Messages.PleaseTryAgain)) %>
            
        <fieldset>
            <legend>Member Information</legend>

            <%: Html.LabelFor(model => model.OldPassword)%>
            <%: Html.PasswordFor(model => model.OldPassword)%>
            <%: Html.ValidationMessageFor(model => model.OldPassword)%>

            <%: Html.LabelFor(model => model.NewPassword)%>
            <%: Html.PasswordFor(model => model.NewPassword)%>
            <%: Html.ValidationMessageFor(model => model.NewPassword)%>

            <%: Html.LabelFor(m => m.ConfirmPassword) %>
            <%: Html.PasswordFor(m => m.ConfirmPassword) %>
            <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %>
                
            <footer>
                <%: Html.AntiForgeryToken() %>
                <input type="submit" value="<%: Expressions.Confirm  %>" />
            </footer>
        </fieldset>
    <% } %>
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="StylesReferences" runat="server">
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="JavascriptReferences" runat="server">
</asp:Content>